ispell.el (ispell-set-spellchecker-params): Really set `ispell-args' for all equivs.
authorAgustin Martin <agustin.martin@hispalinux.es>
Fri, 5 Apr 2013 15:43:07 +0000 (17:43 +0200)
committerAgustin Martin <agustin.martin@hispalinux.es>
Fri, 5 Apr 2013 15:43:07 +0000 (17:43 +0200)
Was not actually modifying ispell-args for dicts where it was nil before.
Thanks Jacek Chrzaszcz.

lisp/ChangeLog
lisp/textmodes/ispell.el

index 43f9bba5cb3d12ad22d896a459ca5eb36f57a1fd..5c79203b12e877345ee96c567ed51bdd2d8cbac8 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-05  Jacek ChrzÄ…szcz  <chrzaszcz@mimuw.edu.pl> (tiny change)
+
+       * ispell.el (ispell-set-spellchecker-params):
+       Really set `ispell-args' for all equivs.
+
 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * ido.el (ido-completions): Use extra elements of ido-decorations
index 467ac004420ab61152ae8e62586153774e9746d5..a56554f5b666d0ab99b71092ebbbada76d02fd36 100644 (file)
@@ -1383,7 +1383,8 @@ aspell is used along with Emacs).")
                ;; Unless default dict, re-add "-d" option with the mapped value
                (if dict-name
                    (if dict-equiv
-                       (nconc ispell-args (list "-d" dict-equiv))
+                       (setq ispell-args
+                             (nconc ispell-args (list "-d" dict-equiv)))
                      (message
                       "ispell-set-spellchecker-params: Missing hunspell equiv for \"%s\". Skipping."
                       dict-name)